import { createApp } from 'vue'
import App from './App.vue'
// 先引入第三方的，再引入我们自己的
import 'normalize.css'
import '@/assets/styles/common.less'
import router from '@/router'
import { createPinia } from 'pinia'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 导入全局组件
import XtxUI from '@/components'

const pinia = createPinia()

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)
app.use(XtxUI)
app.mount('#app')
